package org.vectrics.client.webclient;


public class ConnectionStatus {
	public static ConnectionStatus CONNECTED = new ConnectionStatus("connected", "Connected");
	public static ConnectionStatus DISCONNECTED = new ConnectionStatus("disconnected", "Disconnected");
	public static ConnectionStatus DISCONNECTING = new ConnectionStatus("disconnecting", "Disconnecting");
	
	private String code = null;
	private String description = null;
	
	private ConnectionStatus(String code, String description) {
		this.code = code;
		this.description = description;
	}
	/**
	 * @return Returns the code.
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code The code to set.
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return Returns the description.
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description The description to set.
	 */
	public void setDescription(String description) {
		this.description = description;
	}

}